﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EWDTAssignment.App_Code
{
    public class Search
    {
        public String ProductID { get; set; }
        public string ProductName { get; set; }
        public string Category { get; set; }
        public string Description { get; set; }
        public double Price { get; set; }
        public int Quantity { get; set; }
        public int discountRate { get; set; }

        public Search(string pid, string pn, string cat, string desc, double price, int quantity)
        {
            this.ProductID = pid;
            this.ProductName = pn;
            this.Category = cat;
            this.Description = desc;
            this.Price = price;
            this.Quantity = quantity;
        }
    }
}